package com.babai.entity.platform;


import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * @author fei.yang
 */
@Entity
@Table(name = "platform_script")
public class PlatformScript extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = 3353015776088818269L;
    private String id;
    private int sortNo;

    private String jiraNumber;
    private String jiraSummary;

    private String preDB6;
    private String preDB8;
    private String preDB9;
    private String preDB12;
    private String preDB13;
    private String preDB19;

    private String db6;
    private String db8;
    private String db9;
    private String db12;
    private String db13;
    private String db19;

    @Transient
    private String generatePath;


    public PlatformScript() {
    }

    public PlatformScript(String id) {
        this.id = id;
    }

    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name = "id", unique = true, nullable = false, length = 50)
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "sort_no")
    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    @Column(name = "jira_number", length = 100)
    public String getJiraNumber() {
        return jiraNumber;
    }

    public void setJiraNumber(String jiraNumber) {
        this.jiraNumber = jiraNumber;
    }

    @Column(name = "jira_summary", length = 200)
    public String getJiraSummary() {
        return jiraSummary;
    }

    public void setJiraSummary(String jiraSummary) {
        this.jiraSummary = jiraSummary;
    }

    @Lob
    @Column(name = "DB6")
    public String getDb6() {
        return db6;
    }

    public void setDb6(String db6) {
        this.db6 = db6;
    }

    @Lob
    @Column(name = "DB8")
    public String getDb8() {
        return db8;
    }

    public void setDb8(String db8) {
        this.db8 = db8;
    }

    @Lob
    @Column(name = "DB9")
    public String getDb9() {
        return db9;
    }

    public void setDb9(String db9) {
        this.db9 = db9;
    }

    @Lob
    @Column(name = "DB12")
    public String getDb12() {
        return db12;
    }

    public void setDb12(String db12) {
        this.db12 = db12;
    }

    @Lob
    @Column(name = "DB13")
    public String getDb13() {
        return db13;
    }

    public void setDb13(String db13) {
        this.db13 = db13;
    }

    @Lob
    @Column(name = "DB19")
    public String getDb19() {
        return db19;
    }

    public void setDb19(String db19) {
        this.db19 = db19;
    }

    @Lob
    @Column(name = "PRE_DB6")
    public String getPreDB6() {
        return preDB6;
    }

    public void setPreDB6(String preDB6) {
        this.preDB6 = preDB6;
    }

    @Lob
    @Column(name = "PRE_DB8")
    public String getPreDB8() {
        return preDB8;
    }

    public void setPreDB8(String preDB8) {
        this.preDB8 = preDB8;
    }

    @Lob
    @Column(name = "PRE_DB9")
    public String getPreDB9() {
        return preDB9;
    }

    public void setPreDB9(String preDB9) {
        this.preDB9 = preDB9;
    }

    @Lob
    @Column(name = "PRE_DB12")
    public String getPreDB12() {
        return preDB12;
    }

    public void setPreDB12(String preDB12) {
        this.preDB12 = preDB12;
    }

    @Lob
    @Column(name = "PRE_DB13")
    public String getPreDB13() {
        return preDB13;
    }

    public void setPreDB13(String preDB13) {
        this.preDB13 = preDB13;
    }

    @Lob
    @Column(name = "PRE_DB19")
    public String getPreDB19() {
        return preDB19;
    }

    public void setPreDB19(String preDB19) {
        this.preDB19 = preDB19;
    }

    public String getGeneratePath() {
        return generatePath;
    }

    public void setGeneratePath(String generatePath) {
        this.generatePath = generatePath;
    }
}
